package com.cucn.ingmall.coupon.dao;

import com.cucn.ingmall.coupon.entity.SeckillSessionEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 秒杀活动场次
 * 
 * @author kouchaojie
 * @email kou1688@foxmail.com
 * @date 2021-11-17 18:07:46
 */
@Mapper
public interface SeckillSessionDao extends BaseMapper<SeckillSessionEntity> {

    List<SeckillSessionEntity> getLastThreeDays(@Param("startTime") String startTime, @Param("endTime") String endTime);
}
